<?php

/**
 * Description of IndexerV1
 *
 * @author Guy
 */
class IndexerV1 extends IndexerInterface {

    public function getPoids(\Document $document, \Occurence $terme) {
        return 1;
    }

    public function wordToTerm($mot) {
        return substr($mot, 0, min(strlen($mot), 7));
    }

}
